import request from '@/utils/request'
export function listtsTask(query) {
    return request({
      url: '/tsTask/list',
      method: 'get',
      params: query
    })
  }


  export function createtsTask(data) {
    return request({
      url: '/department/create',
      method: 'post',
      data
    })
  }
  
  export function readtsTask(data) {
    return request({
      url: '/tsTask/get/' + data.ftaskno,
      method: 'get'
    })
  }
  
  export function updatetsTask(data) {
    return request({
      url: '/department/update',
      method: 'post',
      data
    })
  }
  
export function deletetsTask(data) {
    return request({
      url: '/tsTask/delete/' + data.ftaskno,
      method: 'delete'
    })
  }
  